package com.pace.ribbon.service.impl;

import com.pace.ribbon.service.IHellotService;
import org.springframework.stereotype.Component;

import javax.jws.WebService;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicBoolean;

/**
 * @author du.senlin
 * @Title:
 * @Description:
 * @date 2020/5/25 10:56
 */
@Component
@WebService(serviceName = "hellotService", endpointInterface = "com.pace.ribbon.service.IHellotService")
public class HellotServiceImpl implements IHellotService {

    @Override
    public String sayHello(String username) {
        return username + "! Welcome to Xfire in Method[HelloService sayHello]";
    }

}
